package com.un.ebs.contract.domain;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (ContractTempNotWriteOffExt)表实体类
 *
 * @author liubo
 * @since 2020-11-13 14:14:27
 */
@Data
@Component
@TableName("v_contract_temp_not_write_off_ext")
@SuppressWarnings("serial")
public class ContractTempNotWriteOffExt extends Model<ContractTempNotWriteOffExt> {

                
    @DbField(name = "id",  length = 40 , precision = 0)
    private String id;
                
    @DbField(name = "contract_id",  length = 40 , precision = 0)
    private String contractId;
                
    @DbField(name = "business_ent_id",  length = 40 , precision = 0)
    private String businessEntId;
                
    @DbField(name = "business_ent_name",  length = 100 , precision = 0)
    private String businessEntName;
                
    @DbField(name = "personnel_id",  length = 40 , precision = 0)
    private String personnelId;
                
    @DbField(name = "personnel_name",  length = 50 , precision = 0)
    private String personnelName;
                
    @DbField(name = "submit_time",  length = -1 , precision = 0)
    private Date submitTime;
                
    @DbField(name = "audit_time",  length = -1 , precision = 0)
    private Date auditTime;
                
    @DbField(name = "code",  length = 50 , precision = 0)
    private String code;
                
    @DbField(name = "sku_id",  length = 40 , precision = 0)
    private String skuId;
                
    @DbField(name = "price",  length = 18 , precision = 4)
    private Double price;
                
    @DbField(name = "qty",  length = 38 , precision = 4)
    private Double qty;
                
    @DbField(name = "money",  length = 38 , precision = 6)
    private Double money;
                
    @DbField(name = "write_off_qty",  length = 38 , precision = 4)
    private Double writeOffQty;
                
    @DbField(name = "remark",  length = 1000 , precision = 0)
    private String remark;
                
    @DbField(name = "tenant_id",  length = 40 , precision = 0)
    private String tenantId;
                
    @DbField(name = "sku_code",  length = 100 , precision = 0)
    private String skuCode;
                
    @DbField(name = "sku_name",  length = 100 , precision = 0)
    private String skuName;
                
    @DbField(name = "purchase_type",  length = -1 , precision = 0)
    private Integer purchaseType;
                
    @DbField(name = "not_write_off_qty",  length = 38 , precision = 4)
    private Double notWriteOffQty;
                
    @DbField(name = "not_write_off_money",  length = 38 , precision = 6)
    private Double notWriteOffMoney;


}